PaymentPlugins\WooCommerce\PPCP\Utils S

Total Complexity 46
Dependencies 4
Dependents 22
Total lines 217
Lines of code 140
Logical lines of code 71
Comment lines 47
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
is_valid_address()
A
45 11 41
get_queried_product_id()
A
53 10 22
normalize_address_state()
A
59 9 13
parse_shipping_option()
S
67 3 7
random_string()
S
64 2 9
get_address_mappings()
S
72 2 6
get_order_from_query_vars()
S
66 2 8
is_order_review()
S
78 1 3
get_last_address_field_error()
S
80 1 3
get_name_from_customer()
S
77 1 3
get_name_from_order()
S
78 1 3
get_product_data()
S
65 1 9
get_cart_data()
S
68 1 7
get_order_data()
S
71 1 6